doc: Port GtkConstraint to the new format
authorEmmanuele Bassi <ebassi@gnome.org>
Sun, 14 Feb 2021 18:00:00 +0000 (18:00 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Thu, 11 Mar 2021 16:37:30 +0000 (16:37 +0000)
gtk/gtkconstraint.c

index 8bef75eced4b3ab1d6aee1cc3d26658096d62268..d3806b9737598cdb948b4f802fc84afec335f230 100644 (file)
  * @Title: GtkConstraint
  * @Short_description: The description of a constraint
  *
- * #GtkConstraint describes a constraint between an attribute on a widget
+ * `GtkConstraint` describes a constraint between an attribute on a widget
  * and another attribute on another widget, expressed as a linear equation
  * like:
  *
- * |[
+ * ```
  *   target.attr1 = source.attr2 × multiplier + constant
- * ]|
+ * ```
  *
- * Each #GtkConstraint is part of a system that will be solved by a
- * #GtkConstraintLayout in order to allocate and position each child widget.
+ * Each `GtkConstraint` is part of a system that will be solved by a
+ * [class@Gtk.ConstraintLayout] in order to allocate and position each
+ * child widget or guide.
  *
- * The source and target widgets, as well as their attributes, of a
- * #GtkConstraint instance are immutable after creation.
+ * The source and target, as well as their attributes, of a `GtkConstraint`
+ * instance are immutable after creation.
  */
 
 #include "config.h"